package com.wms.api.domian;

import lombok.Data;

import java.util.List;

/**
 * 时效标准及价格查询响应实体
 * @author Yzxxn
 */
@Data
public class SfDeliveryTimeResponse {
    private String apiErrorMsg;
    private String apiResponseID;
    private String apiResultCode;
    private String apiResultData;

    /**
     * apiResultData字段对应的解析实体
     */
    @Data
    public static class ApiResultData {
        private boolean success;
        private String errorCode;
        private String errorMsg;
        private MsgData msgData;
    }

    @Data
    public static class MsgData {
        private List<DeliverTmDto> deliverTmDto;
    }

    @Data
    public static class DeliverTmDto {
        private String businessType;
        private String businessTypeDesc;
        private String deliverTime;
        private String fee;
        private String searchPrice;
        private String closeTime;
        private String specialDisplay;
        private String currency;
        private String priceDetailCustomize;
    }
}